﻿<%@ Page Title="My Payments" Language="C#" MasterPageFile="~/CDBPage.master" AutoEventWireup="true"
    CodeFile="myPayment.aspx.cs" Inherits="myPayment" %>

<%@ Register Src="controls/userNavigation.ascx" TagName="userNavigation" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <section class="content">
        <div class="inner-billboard">
            <h3>Payment Details</h3>
            <blockquote></blockquote>
        </div>
            <div style="min-height: 300px;">
                    <p></p>
                    <uc1:userNavigation ID="userNavigation1" runat="server" />
                    <br /><br /><br />
                    <div style="float: left; width:70%;">
                    <div style="float:left;">
                            <strong>Payment History</strong>
                        </div>
                        <div style="clear:both;">&nbsp;</div>
                    <asp:GridView ID="grdPayment" runat="server" AutoGenerateColumns="False" 
                            Width="50%" CellPadding="4" ForeColor="#333333" GridLines="None">
                            <AlternatingRowStyle BackColor="White" />
                            <Columns>
                                <asp:BoundField DataField="Date" HeaderText="Date" HeaderStyle-HorizontalAlign="Left" HtmlEncode="false" DataFormatString="{0:d}">
                                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField DataField="Amount" HeaderText="Amount" HtmlEncode="false" 
                                    ItemStyle-HorizontalAlign="Right" DataFormatString="{0:C2}" >
                                    <ItemStyle HorizontalAlign="Right"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField DataField="Mode" HeaderText="Payment Mode" HeaderStyle-HorizontalAlign="Left" HtmlEncode="false" >
                                <ItemStyle HorizontalAlign="Left"></ItemStyle>
                                </asp:BoundField>
                            </Columns>
                            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <SortedAscendingCellStyle BackColor="#FDF5AC" />
                            <SortedAscendingHeaderStyle BackColor="#4D0000" />
                            <SortedDescendingCellStyle BackColor="#FCF6C0" />
                            <SortedDescendingHeaderStyle BackColor="#820000" />
                        </asp:GridView>
                        <br /><br />
                        <div style="float:left;">
                            <strong>Current Payment Status: Pending</strong>
                        </div>
                        <div style="float:right;">
                            <strong>Due Date: 10/31/2013</strong>
                        </div>
                        <div style="clear:both;">&nbsp;</div>
                        <table>
                            <tr>
                                <td colspan="2">
                                    <% if (Session["myAccount"] != null)
                                       { %>
                                    <span id="spMessage" runat="server" style="color:Red;"><%=Session["myAccount"] %></span>
                                    &nbsp;</td>
                                    <% } Session["myAccount"] = null;%>
                            </tr>

                            <tr>
                                <td>
                                    &nbsp;&nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    Bank Name
                                </td>
                                <td>
                                    <asp:TextBox ID="txtBankName" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Bank Account Number
                                </td>
                                <td>
                                    <asp:TextBox ID="txtBankAccountNumber" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Routing Number
                                </td>
                                <td>
                                    <asp:TextBox ID="txtRoutingNumber" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td>
                                    <asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="submit" 
                                        onclick="btnSubmit_Click" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="clear"></div>
            </div>
</section>
</asp:Content>
